package com.example.demo.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;

public class Tran {
    @TableId(type = IdType.AUTO)
    private int id;
    private String num;
    private String ship_from;
    private String ship_to;
    private String type;
    private String weight;
    private String des;
    private int state;

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getNum() {
        return num;
    }

    public void setNum(String num) {
        this.num = num;
    }

    public String getShip_from() {
        return ship_from;
    }

    public void setShip_from(String ship_from) {
        this.ship_from = ship_from;
    }

    public String getShip_to() {
        return ship_to;
    }

    public void setShip_to(String ship_to) {
        this.ship_to = ship_to;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public String getWeight() {
        return weight;
    }

    public void setWeight(String weight) {
        this.weight = weight;
    }

    public String getDes() {
        return des;
    }

    public void setDes(String des) {
        this.des = des;
    }

    public int getState() {
        return state;
    }

    public void setState(int state) {
        this.state = state;
    }

    @Override
    public String toString() {
        return "Tran{" +
                "id=" + id +
                ", num='" + num + '\'' +
                ", ship_from='" + ship_from + '\'' +
                ", ship_to='" + ship_to + '\'' +
                ", type='" + type + '\'' +
                ", weight='" + weight + '\'' +
                ", des='" + des + '\'' +
                ", state=" + state +
                '}';
    }
}
